﻿using Ay.MvcFramework;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace  Hotel.UI.Models
{
    public class MainModel : Model
    {
        public string UserName { get; set; } = "杰克.陈";
        public ObservableCollection<RoomStatusModel> roomList2 { get; set; } = new ObservableCollection<RoomStatusModel>();

        public ICommand HideWindowCommand
        {
            get;
            set;
        }
    
        public ICommand LeftClickShowWindowCommand
        {
            get;
            set;
        }

        public ICommand ShowWindowCommand
        {
            get;
            set;
        }

        private bool _IsCheckedShowInTaskbar = true;

        public bool IsCheckedShowInTaskbar
        {
            get
            {
                return this._IsCheckedShowInTaskbar;
            }
            set
            {
                this.Set<bool>(ref this._IsCheckedShowInTaskbar, value, true, (string)null);
            }
        }
    }
}
